home *** CD-ROM | disk | FTP | other *** search
/ Sacred & Secular / Sacred and Secular.iso / pc / movies / shared.dir / 04842_Script__positionBigPicpositionBigPic.ls < prev    next >
Text File  |  1996-04-03  |  1KB  |  69 lines

  1. on mouseDown
  2.   global gPauseWendy, musicOn, NarrOn
  3.   
  4.   if the doubleclick then
  5.     dontpassevent
  6.   else
  7.     global gGuidedTourInProgress, gMeanderInProgress
  8.     
  9.     if gGuidedTourInProgress then 
  10.       --
  11.       --
  12.       -- Check for proximaty to pink arrows
  13.       --
  14.       
  15.       
  16.       if (40+the mouseV) > the top of sprite 5 then
  17.         if (the mouseH - 40) < the right of sprite 4 then 
  18.           guidePics(-2)
  19.           exit
  20.         else if (the mouseH + 40) > the left of sprite 5 then 
  21.           guidePics(0) 
  22.           exit
  23.         end if
  24.       end if
  25.       
  26.       stopQTSound
  27.       sound stop 1
  28.       
  29.       
  30.       set gGuidedTourInProgress = 0
  31.       
  32.       go to frame "guide" of movie "BRIDGES"
  33.       
  34.       
  35.       exit
  36.     end if
  37.     
  38.     if gMeanderInProgress then
  39.       stopQTSound 
  40.       
  41.       set gMeanderInProgress = 0
  42.       
  43.       go to frame "meander" of movie "BRIDGES"  
  44.       
  45.       exit
  46.     end if
  47.     
  48.     
  49.     
  50.     
  51.     if the timer < gPauseWendy and (musicOn or NarrOn) then exit
  52.     
  53.     
  54.     set captureH = the mouseH
  55.     if captureH < 20 or captureH > 620 then 
  56.       pass
  57.       exit
  58.     end if
  59.     
  60.     set captureV = the mousev
  61.     cursor 4
  62.     if the shiftDown then
  63.       goCaption2  
  64.     else
  65.       PositionBigPic(captureH,captureV)
  66.     end if
  67.     cursor -1  
  68.   end if
  69. end